package com.gdones.wms.bus.inbound.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 仓储入库记录主表
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-05-08
 */
@Getter
@Setter
@TableName("t_wms_inbound")
@ApiModel(value = "WmsInbound对象", description = "仓储入库记录主表")
public class WmsInbound implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("入库id")
    @TableId(value = "inboundID", type = IdType.NONE)
    private String inboundID;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

    @ApiModelProperty("插入id")
    private String insertID;

    @ApiModelProperty("插入ip")
    private String insertIP;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("修改id")
    private String updateID;

    @ApiModelProperty("修改ip")
    private String updateIP;

    @ApiModelProperty("是否删除：0 否 1 是")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("数据权限id")
    private String permissionID;

    @ApiModelProperty("操作者本机macID")
    private String localID;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("入库人id")
    private String userID;

    @ApiModelProperty("入库人name")
    private String userName;

    @ApiModelProperty("入库时间")
    private Date inboundTime;

    @ApiModelProperty("关联仓库id")
    private String warehouseID;

    @ApiModelProperty("关联仓库name")
    private String warehouseName;

    @ApiModelProperty("关联物资类目数")
    private Integer recordTypeCount;

    @ApiModelProperty("入库总量")
    private Integer inCount;

    @ApiModelProperty("关联订单")
    private String orderID;


}
